package com.keycloak.admin.model.params;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "NetProtocol", description = "自定义请求协议")
public class NetProtocol {
    @ApiModelProperty(value = "appkey", example = "xxxx-xxxx-xxxx", required = true)
    private String appkey;//appkey
    @ApiModelProperty(value = "API版本", example = "1.0", required = true)
    private String ver;//api版本 默认为1.0
    @ApiModelProperty(value = "发布渠道", example = "XIAOMI", required = true)
    private String channel;//渠道号 默认设为0
    @ApiModelProperty(value = "调用系统", example = "android", required = true)
    private String os;//终端系统 android ios web
    @ApiModelProperty(value = "经度", required = true)
    private int lng;//用户实时经度
    @ApiModelProperty(value = "纬度", required = true)
    private int lat;//用户实时纬度

    public String getAppkey() {
        return appkey;
    }

    public void setAppkey(String appkey) {
        this.appkey = appkey;
    }

    public String getVer() {
        return ver;
    }

    public void setVer(String ver) {
        this.ver = ver;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public String getOs() {
        return os;
    }

    public void setOs(String os) {
        this.os = os;
    }

    public int getLng() {
        return lng;
    }

    public void setLng(int lng) {
        this.lng = lng;
    }

    public int getLat() {
        return lat;
    }

    public void setLat(int lat) {
        this.lat = lat;
    }
}
